<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('AdminLaoren/czlist',array('id'=>$lrid))}">充值记录</a></li>
        <li><a href="{:url('AdminLaoren/chongzhi',array('id'=>$lrid))}">充值</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('AdminLaoren/czlist',array('id'=>$lrid))}">
        充值时间:
        <input type="date" class="form-control" min="0001-01-02" max="9999-12-31" name="start_time" style="width: 200px;" value="{$start_time}"  placeholder="请输入开始时间"> - <input type="date" min="0001-01-02" max="9999-12-31" class="form-control" name="end_time" style="width: 200px;" value="{$end_time}" placeholder="请输入结束时间">
        <button class="btn btn-primary">搜索</button>
    </form>
    <form class="js-ajax-form" method="post">
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="80">残疾人编号</th>
                <th  width="160">残疾人姓名</th>
                <th width="120">充值前余额</th>
                <th width="120">充值金额</th>
                <th width="120">充值后余额</th>
                <th width="160">充值时间</th>
                <th width="100">充值人账号</th>
            </tr>
            </thead>
            <php>$status=array("1"=>'已发布',"0"=>'未发布');</php>
            <foreach name="pages" item="vo">
                <tr>
                    <td>{$vo.czlrid}</td>
                    <td>
                            {$vo.post_title}
                    </td>
                    <td>{$vo.more.oldmoney}</td>
                    <td>{$vo.more.addmoney}</td>
                    <td>{$vo.more.money}</td>
                    <td>{:date('Y-m-d H:i',$vo['create_time'])}</td>
                    <td>{$vo.user_name}</td>
                    
                </tr>
            </foreach>
            <!-- <tfoot>
            <tr>
                
                <th width="100">ID</th>
                <th width="80">残疾人编号</th>
                <th width="160">残疾人姓名</th>
                <th width="120">充值前余额</th>
                <th width="120">充值金额</th>
                <th width="120">充值后余额</th>
                <th width="160">充值时间</th>
                <th width="100">充值人ID</th>
            </tr>
            </tfoot> -->
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>